package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.system.SysMenu;

import java.util.List;

/**
 * @ClassName: SysMenuMapper
 * @Package: com.atguigu.spzx.manager.mapper
 * @Description
 * @Author 孤妤
 * @Date: 2023/12/6 10:23
 */
public interface SysMenuMapper {
    List<SysMenu> selectAllSysMenu();

    void insertSysMenu(SysMenu sysMenu);

    SysMenu selectSysMenuById(Long id);

    void updateSysMenu(SysMenu sysMenu);

    void deleteSysMenuById(Long id);

    List<Long> selectSysMenuEcho(Long id);

    List<SysMenu> selectListByUserId(Long id);

    SysMenu selectById(Long id);
}
